export default class ValidatedList  { 
  list!:any[];


  /**通过JSONObject创建实例对象 */
  public static getInstanceByJSONObj(jsonObj:any):ValidatedList{  
    let instance=new ValidatedList()  
    return Object.assign(instance, jsonObj) 
  }


  /** 通过属性参数创建实例对象 */
  public static getInstanceByParam(list:any[]){ 
    let instance=new ValidatedList()  
    instance.list=list;
    return instance 
  }


  /** 类属性的申明静态变量(适用于直接用到Class.fieldName的场景) */
   static fieldNames={
       list:"list" } 
}

